]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
perf: Update to latest overlay changes
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 15 Aug 2012 01:35:41 +0000 (03:35 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 20 Aug 2012 18:40:01 +0000 (20:40 +0200)
Removing tabs from the overview broke the perf test for the
application view; update test to the new method of bringing
it up.

https://bugzilla.gnome.org/show_bug.cgi?id=682109

js/perf/core.js

index cc41c58671ed248c45bd7656306e8f81bd707a80..86f2c849e92400e9bdb8ff704b7d2b80d5598f96 100644 (file)
@@ -115,10 +115,10 @@ function run() {
 
     for (let i = 0; i < 2; i++) {
         Scripting.scriptEvent('applicationsShowStart');
-        Main.overview._viewSelector.switchTab('applications');
+        Main.overview._dash.showAppsButton.checked = true;
         yield Scripting.waitLeisure();
         Scripting.scriptEvent('applicationsShowDone');
-        Main.overview._viewSelector.switchTab('windows');
+        Main.overview._dash.showAppsButton.checked = false;
         yield Scripting.waitLeisure();
     }
 }